package com.youngjun.user.pojo.vo;

import com.youngjun.common.pojo.vo.support.BaseVO;

public class FunctionVO extends BaseVO<FunctionVO> {

    private String id;

    //功能名称
    private String name;

    //功能路径
    private String path;

    //功能图标
    private String icon;

    //上级功能
    private String parentId;

    //功能类型
    private Type type;

    public String getId() {
        return id;
    }

    public FunctionVO setId(String id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public FunctionVO setName(String name) {
        this.name = name;
        return this;
    }

    public String getPath() {
        return path;
    }

    public FunctionVO setPath(String path) {
        this.path = path;
        return this;
    }

    public String getIcon() {
        return icon;
    }

    public FunctionVO setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public String getParentId() {
        return parentId;
    }

    public FunctionVO setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public Type getType() {
        return type;
    }

    public FunctionVO setType(Type type) {
        this.type = type;
        return this;
    }

    public enum Type {

        /**
         * 菜单
         */
        MENU,

        /**
         * 按钮
         */
        BUTTON

    }

}